Not today...

Filed under javascript...

comments

Project

vuecc

I recently discovered Vue.js and I really liked it. You just have to add a script tag and you can start coding using this framework. After a few hours of development, I decided to use SFC (Single File Components) to separate business code from components. And I got a really bad surpise! In order to compile those templates I needed to use a build system (Webpack or Browserify). The tutorial is really good, but… Read More...

Tagged dev , javascript

comments

Snippet

Getting rid of gulp bunch of dependencies

Recently Nodejs environment broke due the removal from npm of a small library (11 SLOC): leftpad. As it hit the world and broke a bunch of projects and CIs, I asked myself if my projects contains so much dependencies that if one break, everything collapse. The problem For developing my frontend I use a tool which I really like: Gulp. The issue there, is that for working with multiple building process involved a lot of glue and third party libraries. Read More...

Tagged dev , javascript

comments

Tuto

Angular $parse

Hey there, I have started to be tired of weak example of angular power, so I will go deeper on angular services and directives and wrote some articles about it. The service $parse is the one who runs on the html to bind data with your javascript. It provides a lot of useful features which can be really interesting especially with directive manipulation. So, we will illustrate with some examples: Read More...

Tagged javascript , angular , web

comments

Tuto

Outside Angular

There are some cases when angular is accessible but we just want to access a specific service without bootstraping an entire application. For example, in some tests I can load some fixtures with the $http service, or use $compile for a simple template. It is pretty simple to do that, but it is not clearly explained in the angular documentation. So here is an example: // The module ng must be loaded angular. Read More...

Tagged javascript , angular , web